dojo.declare("DVendorHomePg", wm.Page, {
    start: function() {

    },
    "preferredDevice": "desktop",

    labelTodaysOrderClick1: function(inSender, inEvent) {
        this.labelSelectHighlight("label");

        var vendorPg = wm.Page.getPage("DVendorOrderCurrentPg");

        if (vendorPg) {

            vendorPg.svVendorCurrentOrders.update();


        }

    },
    labelSelectHighlight: function(labelClicked) {


        dojo.addClass(this.labelTodaysOrder.domNode, "red");

        //  this.labelTodaysOrder.domNode.style.color = "red";
        // this.labelTodaysOrder.classes="wmbreadcrumblayers-tab wmbreadcrumblayers-selected";
        // dojo.removeClass(this.labelTodaysOrder.domNode, "wmbreadcrumblayers-tab");
        // dojo.addClass(this.labelTodaysOrder.domNode, "wmbreadcrumblayers-tab wmbreadcrumblayers-selected");
    },


    labelAllOrdersClick1: function(inSender, inEvent) {
        var vendorPg = wm.Page.getPage("DVendorOrderHistoryPg");

        if (vendorPg) {

            vendorPg.lvMyOrders.update();

        }
    },
    labelProductCatalogClick1: function(inSender, inEvent) {
        var vendorPg = wm.Page.getPage("DVendorOrderHistoryPg");

        if (vendorPg) {

            vendorPg.lvMyOrders.update();

        }
    },
    _end: 0
});